<html>
<head>
<title>Popup created using window.open</title>
<script>
function test() {
  window.open("popup-success.html",
  "mywindow", "menubar=1, resizable=1, width=350, height=250");
}
</script>
</head>
<body onload="test()">
pop-up test page
</body>
</html>